﻿<!DOCTYPE html>
<html>
	<head>
		<meta name="apple-mobile-web-app-capable" content="yes">  
        <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta charset="UTF-8">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
		<title>{$item['title']}</title>
		<link rel="shortcut icon" href="clientapp/images/new_images/favicon.ico"/>
		<link href="/static/home/mobile/css/reset_5.css" rel="stylesheet" type="text/css" />
		<link href="/static/home/mobile/css/style.css" rel="stylesheet" type="text/css" />
		<link href="/static/home/mobile/css/new_style.css" rel="stylesheet" type="text/css" />
	</head>
	<style type="text/css">
		/*reset*/
		* {
		   margin: 0px;
		   padding: 0px;
		}
		html {
		   font-size: 62.5%;
		}
		body {
		   font-family: "微软雅黑", "Microsoft Yahei", "Arial";
		   font-size: 1.4rem;
		   background: #fff;
		   line-height: 1.5;
		   color: #333;
		   overflow-x: hidden;
		   overflow-y: auto;
		   -webkit-overflow-scrolling: touch;
		}
		a {
		   text-decoration: none;
		   -webkit-transition: all 0.3s ease-in-out;
		   transition: all 0.3s ease-in-out;
		   color: #333;
		}
		.head{
			background-color: #e74b3c;
			height: 64px;
			line-height: 64px;
			text-align: center;
			color: #fff;
			font-size: 2.0rem;
			position: relative;
		}
		.head a{
			position: absolute;
			left: 0px;
			top: 0px;
			width: 50px;
			text-align: center;
		}
		.site-header .tit-name{
			font-size: 1.6rem;
			text-indent: -60px;
		}
		.tips{
			display: inline-block;
			width: 100%;
			text-align: center;
			margin-top: 120px;
		}
		.notice-img{
			margin-bottom: 40px;
		}
		p{
			font-size: 1.4rem;
			line-height: 30px;
		}
		.notice-content{
			width: 85%;
			font-size: 1.4rem;
			line-height: 30px;
			text-align: center;
			margin: auto;
		}
        .detail{
            padding:80px 15px 15px 15px;
            overflow-x: hidden;
        }
        .detail img{
            max-width: 100%;
        }
        
        .pb15rem{padding-bottom:1.5rem;}
        .m-container {
    min-height: 100%;
}
.pb15rem {
    padding-bottom: 1.5rem;
}
.m-container { min-height: 100%;}
.m-container.top { padding-top: .8rem; }
.m-container.bottom { padding-bottom: 1.1rem; }


.objectsshow .list{padding: 5px 0; -moz-box-sizing: border-box; position: relative; height: 60px}
.objectsshow .list .obj-img{width: 55px; height: 55px; overflow: hidden; position: relative; margin: 2px 5px}
.objectsshow .list .obj-img img{width: 100%; height: 100%; position: absolute; left: 50%; top: 50%; -webkit-transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%); -o-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%)}
.objectsshow .list .left{width: 100%; height: 100%; display: block; position: relative}
.objectsshow .list .left .mid{min-height: 25px; margin-right: 10px; margin-left: 10px}
.objectsshow .list .left .mid .title{color: #404040; font-size: 14px; height: 20px; line-height: 20px; overflow: hidden}
.objectsshow .list .left .mid .title span{color: #fff; padding: 1px 2px; background-color: #F90; font-size: 10px; font-family: "微软雅黑"; margin-right: 1px; height: 16px; width: 30px; text-align: center}
.fl{float: left}
.b-bottom-e5{position: relative}
.b-bottom-e5:after{content: ''; position: absolute; left: 0; top: 0; width: 200%; height: 200%; border-bottom: 1px solid #e5e5e5; -webkit-transform-origin: 0 0; -moz-transform-origin: 0 0; -o-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: scale(0.5,0.5); -o-transform: scale(0.5,0.5); -moz-transform: scale(0.5,0.5); transform: scale(0.5,0.5); -moz-box-sizing: border-box; box-sizing: border-box; pointer-events: none}
.objectsshow .list .left .mid .author{font-size: 12px; color: #7e7e7e; height: 20px; line-height: 20px; overflow: hidden}
.objectsshow .list .left .mid .author2{font-size: 10px; color: #CCC; height: 20px; overflow: hidden}
.objectsshow .list .left .mid .author3{font-size: 12px; color: #7e7e7e; height: 36px; line-height: 20px; overflow: hidden; width: 60%}
.objectsshow .list .btn{font-size: 14px; background: #68cc4a; color: #fff; text-align: center; padding: 2px 10px; height: 20px; line-height: 20px; border-radius: 3px; position: absolute; right: 10px; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); z-index: 2}
.objectsshow .list .btn2{width: 1.1rem}

.tag-title {
    height: 35px;
    line-height: 35px;
    color: #404040;
    font-size: 16px;
    padding: 10px;
    margin-top: 10px;
    overflow:hidden;
}

.tag-title-open,.tag-title-open2 { font-size: 0; height: 17px; margin: 12px; position: relative; }
.tag-title-open i,.tag-title-open2 i { width: 3px; height: 17px; background: #303030; display: inline-block; margin-right: 10px; vertical-align: top; }
.tag-title-open span,.tag-title-open2 span { font-size: 17px; color: #303030; display: inline-block; margin-top: -3px; }
.tag-title-open .all { font-size: 12px; color: #808080; float: right; background: url('../images/jt-right-gray.png') no-repeat right center; -o-background-size: 5px; background-size: 5px; padding-right: 10px; }
.tag-title-open2 .all { font-size: 12px; color: #808080; float: right; padding-right: 10px; }
.tag-title .color {
    width: 5px;
    background: #68CC4A;
    height: 35px;
    margin-right: .2rem;
}

.tag-content {
    margin: 10px 10px 0px 20px;
}


.page_ma{ text-align: center; width:100%; height:35px;line-height:35px;margin:50px auto; position: fixed; bottom:0px; }
.page_ma a{ padding:5px 20px;color:#fff;background:#ff844f;font-family:"microsoft yahei";border-radius: 3px; margin-right:10px; line-height:normal; font-size:14px}
.page_ma a.page_next{ padding:5px 20px;color:#fff; background:#CCC;font-family:"microsoft yahei";border-radius: 3px; margin-right:10px; line-height:normal}



.copy-laye { width: 100%; height: 300px; position: fixed; left: 0; top: 0; background: rgba(0,0,0,.5); z-index: 998; display: block; }
.copy-laye-content { width: 100%; background: #fff; padding-top: .4rem; position: fixed; bottom: 0; left: 0; z-index: 999; display: -webkit-flex; display: -moz-box; display: -ms-flexbox; display: flex; -webkit-flex-direction: column; -moz-box-orient: vertical; -moz-box-direction: normal; -ms-flex-direction: column; flex-direction: column; text-align: center; display: none; }
.copy-laye-content .tip-img { padding: 5px 10px; }
.copy-laye-content .tip-img img { height: 300px}
.copy-laye-content .ewm {  width: 50px;  height: 50px; border-radius: .08rem; display: inline-block; overflow: hidden; margin: 0 auto;}
.copy-laye-content .ewm img { width: 100%; }
.copy-laye-content .name { color: #303030; font-size:12px; margin-top:10px; }
.copy-laye-content .copy-tip { color: #e61919; font-size: 12px; margin-top:10px; }
.copy-laye-content .copy-tip2 { color: #e61919; font-size:12px; margin-top: 10px; }
.copy-laye-show-2 .ewm { margin-bottom:5px;}
.copy-laye-show-2 .name{color: #e61919;font-size: 14px;font-weight: normal;padding:2px 10px;border: 1px solid #e61919;border-radius:3px;}
.copy-laye-show-2 .copy-tip{}

.copy-laye-content .toweixin { width: 6.9rem; height: .8rem; line-height: .8rem; text-align: center; display: block; margin: 0 auto .12rem auto; background: #68CC4A; color: #fff; font-size: .32rem; border-radius: .08rem; }

.copy-laye-content .beizhu { width: 100%; height: 30px; line-height: 30px;; text-align: center; display: block; margin: 0 auto 5px auto;  color: #333; font-size: 12px;   }

.close2 {
    width: 16px;
    height: 16px;
    position: absolute;
    z-index: 99999;
    right: 5px;
    top: 5px;
    background: url(/static/home/mobile/images/cut-preivew-close.png) no-repeat;
    -o-background-size: contain;
    background-size: contain;
}


	</style>
	<body>
		<div class="site-header header-fixed">
		<a onclick="history.go(-1);" class="back"></a>
			<div class="tit-name">{$item['title']}</div>
			<!--<a href="myAttend.html" class="sc">发布</a>-->
		</div>
	
	
	<div class="page pb15rem" style="background: #fff;margin-top:50px;">

        <div class="m-container">
            <div class="objectsshow">
                <div class="list b-bottom-e5" style="padding-left: 0; margin-left: .3rem;">
                    <a href="javascript:;" class="btn fr copyBtn" onclick="show_detail()" data-clipboard-text="找好项目">查看二维码</a>
                    <a href="javascript:;" title="找好项目" class="left"> <span class="obj-img fl"><img src="{$item.photo}"></span>
                        <div class="mid">
                            <div class="title">
                                {$item.title}
                            </div>
                            <p class="author">分类：{$item['type_name']}</p>
                            <p class="author">曝光度： {$item.click} &nbsp;&nbsp;ID： {$item.connection_id}</p>
                        </div>
                    </a>
                </div>
            </div>
            <div class="tag-title">
                <div class="color fl"></div>{$item.title}
            </div>
            <div class="tag-content wx-info-content height">
                <p>{$item.introduce}</p>
            </div>


            

            <div class="guid-ewm" style="width:100%; margin: 0 auto; text-align: center;">
                <img style="width: 80%; margin: 0 auto; text-align: center; margin-top: 10px;" src="{$item.qrcode}">
                <p style="width: 80%; margin: 0 auto; text-align: center; font-size: 14px; line-height: 50px; color: #666">提示：长按二维码识别添加</p>
            </div>
        </div>
        <div style="width: 100%;  margin: 0 auto;">
            <div class="page_ma clearfix">
            	{if $last_item}
                <a style="color:#fff" href="/home/connection/detail/connection_id/{$last_item['connection_id']}">上一篇</a> 
                {/if}
                {if $next_item}
                <a style="color:#fff" href="/home/connection/detail/connection_id/{$next_item['connection_id']}">下一篇</a>    
                {/if}
                
                </div>
        </div>
    </div>
	
	
	<div class="copy-laye" style="height: 667px; display: none;"></div>
	
	
	<div class="copy-laye-content copy-laye-show-1" style="display: none;">
        <a href="javascript:;" class="close2"></a>
        <span class="ewm"><img src="{$item.photo}" alt=""></span>
        <p class="name">{$item.title}</p>
        <p class="copy-tip wx_x1" style="color: rgb(255, 0, 0); display: none;">↓长按二维码 识别添加↓</p>
        <div class="tip-img">
            <img src="{$item.qrcode}" alt="">
        </div>
    </div>
    <script src="/static/home/mobile/js/jquery-2.0.3.min.js"></script>
	<script>
		$('.back').attr('href',document.referrer)
	
		  $('.close2').on('click', function(e){
            $('.copy-laye').hide();
            $('.copy-laye-content').hide();
            $('body').removeAttr('ontouchmove');

            e.preventDefault();
        });
        
       function show_detail(){
       	$('.copy-laye').show()
       	$('.copy-laye-content').show()
       }
	</script>
	
</body>
</html>